<template>
  <a
    href="https://uptrace.dev/"
    target="_blank"
    class="d-inline-block"
    v-bind="$attrs"
    v-on="$listeners"
  >
    <v-img
      :src="`${publicPath}uptrace/logo-small.svg`"
      :max-width="width"
      :width="width"
      transition="scale-transition"
      alt="Uptrace"
      class="shrink"
    />
  </a>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
  name: 'UptraceLogoSmall',

  props: {
    width: {
      type: [Number, String],
      default: 38,
    },
  },
})
</script>
